package com.school.sdk;

import com.school.sdk.haikang.alarm.Alarm;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class SchoolHKMsgPushApplication {

	public static void main(String[] args) {
		SpringApplication.run(SchoolHKMsgPushApplication.class, args);
	}


	@Bean
	public CommandLineRunner commandLineRunner() {
		return args -> Alarm.startTask();
	}
	
}
